package cn.plushine.mapper;

import cn.plushine.pojo.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 客户
 */
@Mapper
@Repository
public interface BaseCustomerMapper {
    // 获取客户信息列表
    List<Customer> get(String input);

    // 添加客户信息
    int add(Customer customer);

    // 修改客户信息
    int modify(Customer customer) throws Exception;

    // 删除客户信息
    int delete(int id) throws Exception;
}
